package com.qlogic.commons.uml;

import java.io.Reader;

/**
 * Common interface for parsing source models into InterMine model format.
 * 
 * @author Mohammed LOUKILI
 */

public interface ModelParser {

	/**
	 * Read source model information and construct a InterMine Model object.
	 * 
	 * @param reader
	 *            the source model to parse
	 * @return the InterMine Model created
	 * @throws Exception
	 *             if Model not created successfully
	 */
	public Model process(Reader reader) throws Exception;

}
